package com.shadow.demo.data.info.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shadow.demo.data.info.entity.SiteInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.Set;

@DS("info")
@Mapper
public interface SiteInfoMapper extends BaseMapper<SiteInfoEntity> {

    Set<String> getTypeByRole(@Param("roleCodes") Collection<String> roleCodes);
}
